import Vue from 'vue'
import {
  Button,
  Icon,
  Tabbar,
  TabbarItem,
  NavBar,
  Form,
  Field,
  Toast,
  Cell,
  List,
  Skeleton,
  Grid,
  GridItem,
  CellGroup
} from 'vant'
// 链式编程
// Vue.use()返回的是Vue，所以可以接着点use
Vue.use(Button)
  .use(Icon)
  .use(Tabbar)
  .use(TabbarItem)
  .use(NavBar)
  .use(Form)
  .use(Field)
  .use(Toast)
  .use(Cell)
  .use(List)
  .use(Skeleton)
  .use(Grid)
  .use(GridItem)
  .use(CellGroup)
